<?php
/* Design Test cases generated on: 2010-11-16 11:11:17 : 1289902877*/
App::import('Model', 'Design');

class DesignTestCase extends CakeTestCase {
	var $fixtures = array('app.message', 'app.user', 'app.group', 'app.contractor_profile', 'app.designer_profile', 'app.comment', 'app.design', 'app.pitch', 'app.pitch_subscription', 'app.design_photo', 'app.job');

	function startTest() {
		$this->Design =& ClassRegistry::init('Design');
	}

	function endTest() {
		unset($this->Design);
		ClassRegistry::flush();
	}
	
	function testGetDesign() {
		$this->assertEqual(count($this->Design->get_design(3)), 2);
		$this->assertFalse($this->Design->get_design());
	}
	
	

}
?>
